home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 2489 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  3.0 KB

  1. Path: news-feed.mci.newscorp.com!usenet
  2. From: pbe@pobox.com
  3. Newsgroups: comp.lang.c++,comp.lang.pascal.delphi.misc
  4. Subject: Re: C++ with Zapp vs. Delphi
  5. Date: 18 Jan 1996 00:12:01 GMT
  6. Organization: Phoenix Business Enterprises
  7. Message-ID: <4dk38h$gdr@merlin.delphi.com>
  8. References: <4coar6$d4n@sun4.bham.ac.uk> <4coip7$69s@news1.usa.pipeline.com> <DBk8wg2yqjbB083yn@iaccess.za> <4d7pmb$48c8@tigger.cc.uic.edu>
  9. NNTP-Posting-Host: slip110-188.bb.delphi.com
  10. X-To: olczyk@sunphy1.phy.uic.edu
  11. X-Mailer: SQUID
  12. X-Registration: $737961
  13.  
  14. >Maybe C vs. Pascal , but C++ is OO and Object Pascal is a fraud perpetuated b
  15. >Borland on the world.
  16.  
  17.      Oh, but you'll accept MS's claim that VB4 is OO? (One of their TechEd'
  18. s in an article even said it was not OO)
  19.  
  20. >Object Pascal is a statically typed language which does not support
  21. >multiple inheritance and generics.
  22.  
  23.      MI is not a requirement for OO, and many don't think it should exist at
  24. all. "Goto of the 90's".
  25.  
  26.      Is my car not a car because I don't have a two side mirrors? (Mine does
  27. though)
  28.  
  29. >The lack of multiple inheritence means that some objects cannot 
  30. >send messages to other objects despite the fact that the message is in 
  31. >the public part of the interface. There are two methods to get around
  32. >this: typecasting which is a maintanance nightmare, and faking inheritence
  33. >which is still a maintainance nightmare. In the VCL Borland often chose to
  34. >fake inheritance. 
  35.  
  36.      Unless you are doing something out of the ordinary, you type cast to the
  37. lowest common denomiator and then send the message.
  38.  
  39.      It can however in certain situations be cumbersome. (Rarely though)
  40.  
  41. >Lack of generics(templates) means you can't construct decent
  42. >container classes.
  43.  
  44.      Create your own, get free source, and use Polymorphism!
  45.  
  46. PS, how about a valid FROM header.
  47. _
  48. This isn't the moon? This is PA? What are all those holes?
  49.  
  50. +------------------------------------------------------------+
  51. |* Chad Z. Hower  -  phoenix@pobox.com                       |
  52. |* Consultant - Phoenix Business Enterprises                 |
  53. |         pbe@pobox.com   -   http://pobox.com/~pbe          |
  54. |* Principal Analyst Programmer -                            |
  55. |         SCB Computer Technology Inc - czhower@eastman.com  |
  56. |Physically in Church Hill, TN - Logically Not Sure          |
  57. +------------------------------------------------------------+
  58. >>SQUID - The ultimate database reader, and NO limits. #$737961
  59. **Special Compile: 1.033B (Beta)
  60.  
  61. +------------------------------------------------------------+
  62. |* Chad Z. Hower  -  phoenix@pobox.com                       |
  63. |* Consultant - Phoenix Business Enterprises                 |
  64. |         pbe@pobox.com   -   http://pobox.com/~pbe          |
  65. |* Principal Analyst Programmer -                            |
  66. |         SCB Computer Technology Inc - czhower@eastman.com  |
  67. |Physically in Church Hill, TN - Logically Not Sure          |
  68. +------------------------------------------------------------+
  69. >>SQUID - The ultimate database reader, and NO limits. #$737961
  70. **Special Compile: 1.033B (Beta)
  71.